import java.sql.SQLOutput;
import java.util.Scanner;

public class Demo09 {
    public static void main(String[] args) {
        /**
         * if嵌套
         */
        System.out.println("请输入跑步成绩:");
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt();
        if(score<15){
            System.out.println("请输入您的姓别");
            String gender = sc.next();
            if(gender.equals("男")){
                System.out.println("进入男子组决赛");
            } else if(gender.equals("女")){
                System.out.println("进入女子组决赛");

            }else{
                System.out.println("性别输入错误");
            }
        }
        else{
            System.out.println("您被淘汰了");
        }
    }
}
